package com.ltmonitor.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
 * 用于新的邮件菜单的Action
 * @author Administrator
 *
 */
@Controller
@RequestMapping("/rightCommand")
public class RightCommandAction {
	
	/**
	 * 远程调度右键菜单相应方法
	 * @param vehicleId
	 * @param model
	 * @return
	 */
	@RequestMapping("/longDistanceControl.action")
	public String LongDistanceControl(long vehicleId,Model model) {
		model.addAttribute("vehicleId", vehicleId);
		return "rightCommand/longDistanceControl";
	}
	
	/**
	 * 多媒体参数设置右键菜单相应方法
	 * @param vehicleId
	 * @param model
	 * @return
	 */
	@RequestMapping("/videoPropertiesSet.action")
	public String VideoPropertiesSet(long vehicleId,Model model) {
		model.addAttribute("vehicleId", vehicleId);
		return "rightCommand/videoPropertiesSet";
	}
	
	/**
	 * 终端参数设置右键菜单相应方法
	 * @param vehicleId
	 * @param model
	 * @return
	 */
	@RequestMapping("/terminalPropertiesSet.action")
	public String TerminalPropertiesSet(long vehicleId,Model model) {
		model.addAttribute("vehicleId", vehicleId);
		return "rightCommand/terminalPropertiesSet";
	}
	
	
	

}
